/**
 * 
 */
package homework.homework5.problem1;

/**
 * @author hoang.pt
 *
 */
public class VipComputer extends Computer {

	String material;
	
	String owner;
	
	/**
	 * @param id
	 * @param name
	 * @param brand
	 * @param price
	 */
	public VipComputer(int id, String name, String brand, Double price) {
		super(id, name, brand, price);
	}

	/**
	 * 
	 * @param id
	 * @param name
	 * @param brand
	 * @param price
	 * @param material
	 * @param owner
	 */
	public VipComputer(int id, String name, String brand, Double price, String material, String owner) {
		super(id, name, brand, price);
		this.material = material;
		this.owner = owner;
	}
	
	/**
	 * overide
	 */
	public String toString() {
		
		return "VIP Computer has material: " +material+ ", owner: " +owner;
	}
}
